package com.gusha.model;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.hibernate.annotations.DynamicInsert;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Entity
@Table(name="sys_scenic")
@NamedQuery(name="SysScenic.findAll", query="SELECT s FROM SysScenic s")
@DynamicInsert
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SysScenic implements Serializable {
private static final long serialVersionUID = 1L;
	
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY) 
	private BigInteger id;
	
	@Column(name="scenic_name")
	private String scenicName;
	
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="add_time")
	private Date addTime;
	
	
	@Column(name="add_name")
	private String addName;
	
	
	@Column(name="scenic_img")
	private String scenicImg;
	
	
	@Column(name="scenic_video")
	private String scenicVideo;
	
	
	@Column(name="scenic_content")
	private String scenicContent;
	
	
	@Column(name="is_delete")
	private BigInteger isDelete;
	
	
	@Column(name="is_check")
	private BigInteger isCheck;
	
	@Column(name="scenic_address")
	private String scenicAddress;//地址
	
	@Column(name="charge_type")
	private String chargeType;//收费类型
	
	@Column(name="scenic_type")
	private BigInteger scenicType;
	
	@Column(name="english_name")
	private String englishName;


	public String getEnglishName() {
		return englishName;
	}


	public void setEnglishName(String englishName) {
		this.englishName = englishName;
	}


	public BigInteger getScenicType() {
		return scenicType;
	}


	public void setScenicType(BigInteger scenicType) {
		this.scenicType = scenicType;
	}


	public String getScenicAddress() {
		return scenicAddress;
	}


	public void setScenicAddress(String scenicAddress) {
		this.scenicAddress = scenicAddress;
	}


	public String getChargeType() {
		return chargeType;
	}


	public void setChargeType(String chargeType) {
		this.chargeType = chargeType;
	}


	public BigInteger getId() {
		return id;
	}


	public void setId(BigInteger id) {
		this.id = id;
	}


	public String getScenicName() {
		return scenicName;
	}


	public void setScenicName(String scenicName) {
		this.scenicName = scenicName;
	}


	public Date getAddTime() {
		return addTime;
	}


	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}


	public String getAddName() {
		return addName;
	}


	public void setAddName(String addName) {
		this.addName = addName;
	}


	public String getScenicImg() {
		return scenicImg;
	}


	public void setScenicImg(String scenicImg) {
		this.scenicImg = scenicImg;
	}


	public String getScenicVideo() {
		return scenicVideo;
	}


	public void setScenicVideo(String scenicVideo) {
		this.scenicVideo = scenicVideo;
	}


	public String getScenicContent() {
		return scenicContent;
	}


	public void setScenicContent(String scenicContent) {
		this.scenicContent = scenicContent;
	}


	public BigInteger getIsDelete() {
		return isDelete;
	}


	public void setIsDelete(BigInteger isDelete) {
		this.isDelete = isDelete;
	}


	public BigInteger getIsCheck() {
		return isCheck;
	}


	public void setIsCheck(BigInteger isCheck) {
		this.isCheck = isCheck;
	}


	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
	
	
	
}
